package factory.abstractFactory.virtual.factory;

import factory.abstractFactory.virtual.product.Product;
import factory.abstractFactory.virtual.product.Rubbish;

/**
 * 工厂接口
 *
 * @author 若雨成霜
 * @Created with IDEA
 */

public interface BaseFactory {
    /**
     * 生产
     *
     * @return
     */
    Product produce();

    /**
     * 销毁
     *
     * @return
     */
    Rubbish destroy();
}
